//
//  ChooseBottomAlertView.h
//  JPWords
//
//  Created by 梁淑婷 on 2024/5/26.
//

#import "JPCustomView.h"

NS_ASSUME_NONNULL_BEGIN

@interface ChooseBottomAlertView : JPCustomView

@property(nonatomic,assign)NSInteger sel_index;
@property(nonatomic,copy)NSArray *titleArr;
@property(nonatomic,copy)void(^sureBlock)(NSInteger index);
@property(nonatomic,assign)BOOL isShow;
@property(nonatomic,assign)CGFloat currentAvailableWidth;
@property(nonatomic,assign)CGFloat currentAvailableHeight;

-(instancetype)initWithFrame:(CGRect)frame andTitleArr:(NSArray*)titleArr;
-(void)show;
-(void)hidden;
-(void)refreshWidth;

@end

NS_ASSUME_NONNULL_END
